package cn.itcast.dao;

import cn.itcast.domain.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountDao2 {
    int inMoney(@Param("id") Integer id, @Param("money") Double money);
    int outMoney(@Param("id") Integer id, @Param("money") Double money);
    List<Account> findAll();
    int save(Account account);
    int delete(Integer id);
}
